package com.g13.virtualpethospital.entity;

import com.g13.virtualpethospital.entity.base.CaseSession;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Title: CaseEntity
 * @Author yyj1205
 * @Package com.g13.virtualpethospital.entity
 * @Date 24/3/2024 17:48
 * @description: 病例
 */
@ApiModel(description = ": 病例")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Document("Case")
public class CaseEntity {
    /**
     * 检查模块，用于存放此病例所用检查方法的信息
     */
    @ApiModelProperty(value = "检查模块，用于存放此病例所用检查方法的信息", position = 1)
    private CaseSession caseCheck;
    /**
     * 诊断模块，存放此病例确诊了什么病的信息
     */
    @ApiModelProperty(value = "诊断模块，存放此病例确诊了什么病的信息", position = 2)
    private CaseSession caseDiag;
    /**
     * 病例id，唯一
     */
    @Id
    @ApiModelProperty(value = "病例id，唯一", position = 3)
    private String caseId;
    /**
     * 病例名称
     */
    @ApiModelProperty(value = "病例名称", position = 4)
    private String caseName;
    /**
     * 接诊模块，用于存放此病例症状的信息
     */
    @ApiModelProperty(value = "接诊模块，用于存放此病例症状的信息", position = 5)
    private CaseSession caseTake;
    /**
     * 治疗模块，用于存放此病例治疗所用药或手术相关的信息
     */
    @ApiModelProperty(value = "治疗模块，用于存放此病例治疗所用药或手术相关的信息", position = 6)
    private CaseSession caseTherapy;
    /**
     * 一级菜单，传染病、寄生虫病等
     */
    @ApiModelProperty(value = "一级菜单，传染病、寄生虫病等", position = 7)
    private String menu;
    /**
     * 二级菜单，一级菜单对应的次级内容，比如传染病对应犬瘟热、流感等等
     */
    @ApiModelProperty(value = "二级菜单，一级菜单对应的次级内容，比如传染病对应犬瘟热、流感等等", position = 8)
    private String subMenu;

}